import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import vueModuleLoader from 'vue-module-loader'
import localModule from './module'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(vueModuleLoader, { store })
Vue.use(ElementUI)
Vue.config.productionTip = false
const app = new Vue({
  router,
  store,
  render: h => h(App)
})
app.$moduleLoader(localModule)
app.$moduleLoader({
  'eap-common-tools':'//img.fsthz.com/app.modules/eap-common-tools/eap-common-tools.umd.min.js',
  'eap-common':'//img.fsthz.com/app.modules/eap-commons/eap-common.umd.min.js'
})
console.log('可以看到模块么？？？',app)

app.$mount('#app')
